package org.uim.cricket.entities.aggr;

import java.util.List;

import org.uim.cricket.entities.batting.BattingInning;
import org.uim.cricket.entities.bowling.BowlingInning;
import org.uim.cricket.entities.inning.InningExtras;
import org.uim.cricket.entities.inning.InningTotals;
import org.uim.cricket.entities.partnerships.FallOfWicket;
import org.uim.cricket.entities.partnerships.Partnership;

public class SingleInning {

	private String battedTeam = null;
	private String bowledTeam = null;
	private int inningTeamItSelf = 1;
	private int inningMatch = 1;
	
	private String maximumInningOvers = null;
	private int targetChased = -1;
	private String targetChasedOvers = null;
	
	private List<BattingInning> batInnings = null;
	private List<BowlingInning> bowlInnings = null;
	private List<FallOfWicket> fallWickets = null;
	private Partnership[] partnerships = null;
	
	private InningExtras extras = null;
	private InningTotals totals = null;

	public String getBattedTeam() {
		return battedTeam;
	}

	public void setBattedTeam(String battedTeam) {
		this.battedTeam = battedTeam;
	}

	public List<BattingInning> getBatInnings() {
		return batInnings;
	}

	public void setBatInnings(List<BattingInning> batInnings) {
		this.batInnings = batInnings;
	}

	public List<BowlingInning> getBowlInnings() {
		return bowlInnings;
	}

	public void setBowlInnings(List<BowlingInning> bowlInnings) {
		this.bowlInnings = bowlInnings;
	}

	public List<FallOfWicket> getFallWickets() {
		return fallWickets;
	}

	public void setFallWickets(List<FallOfWicket> fallWickets) {
		this.fallWickets = fallWickets;
	}

	public InningExtras getExtras() {
		return extras;
	}

	public void setExtras(InningExtras extras) {
		this.extras = extras;
	}

	public InningTotals getTotals() {
		return totals;
	}

	public void setTotals(InningTotals totals) {
		this.totals = totals;
	}

	public void setInningTeamItSelf(int inningTeamItSelf) {
		this.inningTeamItSelf = inningTeamItSelf;
	}
	
	public void setInningMatch(int inningMatch) {
		this.inningMatch = inningMatch;
	}
	
	public void setBowledTeam(String bowledTeam) {
		this.bowledTeam = bowledTeam;
	}
	
	public int getInningTeamItSelf() {
		return inningTeamItSelf;
	}
	
	public int getInningMatch() {
		return inningMatch;
	}
	
	public String getBowledTeam() {
		return bowledTeam;
	}
	
	public void setTargetChasedOvers(String targetChasedOvers) {
		this.targetChasedOvers = targetChasedOvers;
	}
	
	public void setTargetChased(int targetChased) {
		this.targetChased = targetChased;
	}
	
	public void setMaximumInningOvers(String maximumInningOvers) {
		this.maximumInningOvers = maximumInningOvers;
	}
	
	public String getTargetChasedOvers() {
		return targetChasedOvers;
	}
	
	public int getTargetChased() {
		return targetChased;
	}
	
	public String getMaximumInningOvers() {
		return maximumInningOvers;
	}
	
	public void setPartnerships(Partnership[] partnerships) {
		this.partnerships = partnerships;
	}
	
	public Partnership[] getPartnerships() {
		return partnerships;
	}
	
}
